#!/bin/bash

set -ex

# Start is guaranteed to be called once when after the unit is installed
# *AND* once every time a machine is rebooted.

if [ ! -f $CHARM_DIR/.unit-state ]
then
    exit 0;
fi

service docker restart
service proxy restart
service kubelet restart
